package com.atguigu.mybatis.service;

import com.atguigu.mybatis.bean.Emp;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

public interface EmpService {
    @Transactional
    public void find() throws InterruptedException;

    @Transactional
    void updateBatch(List<Emp> emps);

    List<Emp> getAll();
}
